package com.xuecheng.manage_course.service.impl;

import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import com.xuecheng.manage_course.dao.TeachplanMapper;
import com.xuecheng.manage_course.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Andrew Yang
 * @ClassName CourseServiceImpl
 * @Description
 * @Package com.xuecheng.manage_course.service.impl
 * @create 2020-02-07 19:54
 */
@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private TeachplanMapper teachplanMapper;

    @Override
    public TeachplanNode findTeachplanNode(String courseId) {
        return teachplanMapper.selectList(courseId);
    }
}
